// CommentModel Model

const mongoose = require('../db/db')

const CommentSchema = mongoose.Schema(
    {
        content: {type: String, required: true},
        username: String
    },
    {
        timestamps: true
    })

const CommentModel = mongoose.model('comment', CommentSchema)

module.exports = CommentModel
